

#ifndef _SHELL_RESACTIVITYGOODS_MESSAGE_H_
#define _SHELL_RESACTIVITYGOODS_MESSAGE_H_

#include "Message.h"
#include "Beans.h"
//#include "ActivityGoods.h"
//#include <vector>
using namespace std;

class ResActivityGoodsMessage : public Message
{
	public:
	ResActivityGoodsMessage();
	~ResActivityGoodsMessage();
	void reset();
	ResActivityGoodsMessage* clone();
	static const int _ID;
	//更新的商店类型(1特惠商城 2暗金商城)
	int8 type;
	//商店物品
	vector<ActivityGoods*> activityGoods;
	
	bool read_from(ByteBuf& buf);
    bool write_to(ByteBuf& buf);
    int getId();
};

#endif
